/*#include<stdio.h>
#define maxe 10
int arr[maxe];
int main()
{
	int i = 0;
	int a = 0;
	int n = 0;
	while (scanf_s("%d", &a) == 1)
		arr[n++] = a;
	for (i = n - 1; i >= 0; i--)
		printf("%d ", arr[i]);
	return 0;
*/